home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / amos / amoslist.lzh / AMOSLIST / 000315_amos-request@svcs1.digex.net_Fri Sep 22 15:12:19 1995.msg < prev    next >
Internet Message Format  |  1995-10-02  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id PAA13146;  for <mcox@access.digex.net> ; Fri, 22 Sep 1995 15:12:18 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id NAA15044 for amos-out; Fri, 22 Sep 1995 13:44:47 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id NAA15041 for <amos-list@svcs1.digex.net>; Fri, 22 Sep 1995 13:44:45 -0400
  4. Received: from disperse.demon.co.uk (disperse.demon.co.uk [158.152.1.77]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id NAA01965;  for <amos-list@access.digex.net> ; Fri, 22 Sep 1995 13:44:27 -0400
  5. Received: from post.demon.co.uk by disperse.mail.demon.net id ac13502;
  6.           22 Sep 95 15:04 +0100
  7. Received: from westmead.demon.co.uk by post.mail.demon.net id aa25125;
  8.           22 Sep 95 15:00 +0100
  9. From: Mark Carter <Mark@westmead.demon.co.uk>
  10. Organization:  None Whatsoever
  11. To: amos-list@access.digex.net
  12. Date:          Fri, 22 Sep 1995 15:02:43 +0000
  13. Subject:       Joystick 2 Mouse
  14. Priority: normal
  15. X-mailer: Pegasus Mail/Windows (v1.22)
  16. Message-ID:  <9509221500.aa25125@post.mail.demon.net>
  17. Status: RO
  18. X-Status: 
  19.  
  20. Whats the best method for making the joystick move the mouse pointer?  :
  21.  
  22. 1.  At the start of each "main loop" have something like
  23.  
  24. Xmouse=Xmouse + (Jleft(Port) - Jright(Port))
  25. Ymouse=Ymouse + (Jup(Port) - Jdown(Port))
  26.  
  27. (why doesnt Add work?)
  28.  
  29. or
  30.  
  31. 2.  Use Amal (in a similar way)
  32.  
  33.  
  34. ----
  35.  
  36. Which is faster?
  37.  
  38. I think Amal is the "proper" way because normally the mouse pointer 
  39. moves "in the background" and so Amal is the closest thing to 
  40. emulating this - but then again, what would I know?
  41.  
  42. Cheers,
  43.  
  44. Mark
  45.  
  46. Mark Carter
  47. e-mail: mark@westmead.demon.co.uk,   exet0007@sable.ox.ac.uk